import axiosServer from "@/utils/request";
//登录
export const requestMyList = ( username,password)=>{
    return axiosServer({
        method:'post',
        url:'/api/login',
        data:{
           username,
           password
        }
    })
}
//注册
export const requestAddMy = ( username,password,headerimg)=>{
    return axiosServer({
        method:'post',
        url:'/api/sign',
        data:{
           username,
           password,
           headerimg
        }
    })
}